﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace YOUYOU.Models.Entities.DBModels
{
    [SugarTable("appconfig", TableDescription = "慢病配置表")]
    public class AppConfig
    {
        /// <summary>
        /// ID（自增）
        /// </summary>
        [SugarColumn(ColumnName = "ID", IsIdentity = true, IsPrimaryKey = true)]
        public int ID { get; set; }

        /// <summary>
        /// 配置名
        /// </summary>
        [SugarColumn(ColumnName = "name")]
        public string? name { get; set; }

        /// <summary>
        /// 配置值
        /// </summary>
        [SugarColumn(ColumnName = "value")]
        public string? value { get; set; }

        /// <summary>
        /// 配置描述
        /// </summary>
        [SugarColumn(ColumnName = "content")]
        public string? content { get; set; }
    }
}
